
import http from "../index";
import {PORT1} from "../config/servicePort";

export const addTask = (params:any)=>{
    return http.post<any>(PORT1 + '/sysTask/add',params)
}
export const getTaskList = () => {
    return http.get(PORT1 + `/sysTask/`);
};


